package tech.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.aistar.mapper.ProductTypeMapper;
import tech.aistar.model.pojo.ProductType;
import tech.aistar.service.IProductService;
import tech.aistar.service.IProductTypeService;

import java.util.List;

@Service
public class ProductTypeServiceImpl implements IProductTypeService {

    @Autowired
    ProductTypeMapper productTypeMapper;

    @Override
    public List<ProductType> findAll() {

        List<ProductType> list = productTypeMapper.findAll();

        return list;
    }
}
